local mod = DBM:NewMod("Ikiss", "DBM-Party-BC", 9)
local L = mod:GetLocalizedStrings()

mod:SetRevision(("$Revision: 336 $"):sub(12, -3))

mod:SetCreatureID(18473)
mod:SetModelID(18636)
mod:RegisterCombat("combat")

mod:RegisterEvents(
	"SPELL_CAST_START",
	"SPELL_AURA_APPLIED"
)

local warnArcaneExplosion   = mod:NewCastAnnounce(38197)
local timerArcaneExplosion  = mod:NewCastTimer(5, 38197)
local warnSheep             = mod:NewTargetAnnounce(38245)

function mod:SPELL_CAST_START(args)
	if args:IsSpellID(38197, 40425) then
		warnArcaneExplosion:Show()
		timerArcaneExplosion:Start()
	end
end

function mod:SPELL_AURA_APPLIED(args)
	if args:IsSpellID(38245, 43309) then
		warnSheep:Show(args.destName)
	end
end